package view;

import java.awt.Color;
import java.awt.Dimension;

import javax.swing.JFrame;

@SuppressWarnings("serial")
public class CtfFrame extends JFrame {
	public CtfFrame() {
		super("Capture the Fatty 2009");
	    this.setSize(800, 600);
	    this.setMinimumSize(new Dimension(640, 480));
	    this.setBackground(Color.black);
	    this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
	    this.setContentPane(new MainMenuView(this));
	    this.setVisible(true);
		
	}	
	public void setView(CtfPanel view) {
		this.setContentPane(view);
		this.validate();
		this.setVisible(true);
	}

}
